
        <form class="form-horizontal" role="form" action="{{ path('usuario_login') }}" method="post" {{form_enctype(formulario) }} >
            {{ form_errors(formulario) }}
            <h1> Registrate! </h1>

            <div class="form-group">
                <label class="col-sm-2 control-label">Usuario: </label>
                <div class="col-sm-10">
                    {{ form_widget(formulario.username, { 'attr': {'class':'form-control','placeholder' : 'JuanPerez2', 'size' : 25 } }) }}
                    {{ form_errors(formulario.username, {'attr': {'class': 'form-control'}}) }}
                </div>
            </div>

            <div class="form-group">
                <label class="col-sm-2 control-label">Nombre: </label>
                <div class="col-sm-10">
                    {{ form_widget(formulario.nombres, { 'attr': {'class':'form-control','placeholder' : 'Juan', 'size' : 25 } }) }}
                </div>
            </div>

            <div class="form-group">
                <label class="col-sm-2 control-label">Apellido: </label>
                <div class="col-sm-10">
                    {{ form_widget(formulario.apellidos, { 'attr': {'class':'form-control','placeholder' : 'Perez', 'size' : 25 } }) }}

                </div>
            </div>

            <div class="form-group">
                <label class="col-sm-2 control-label">Nacimiento: </label>
                <div class="col-sm-10">
                    {{ form_widget(formulario.fecha_nacimiento) }}
                </div>
            </div>

            <div class="form-group">
                <label class="col-sm-2 control-label">Nacionalidad: </label>
                <div class="col-sm-10">
                    {{ form_widget(formulario.nacionalidad, { 'attr': {'class':'form-control','placeholder' : 'Argentina', 'size' : 25 } }) }} 
                </div>
            </div>

            <div class="form-group">
                <label class="col-sm-2 control-label">Email: </label>
                <div class="col-sm-10">
                    {{ form_widget(formulario.email, { 'attr': {'class':'form-control','placeholder' : 'juan.perez@mail.com', 'size' : 25 } }) }} 
                </div>
            </div>

            <div class="form-group">
                <div class="col-sm-10">
                    {{ form_widget(formulario.password) }}
                </div>
            </div>

            <div class="form-group">
                <div class="col-sm-offset-2 col-sm-10">
                    <button type="submit" class="btn btn-default">Registrarme</button>
                </div>
            </div>
                
{{ form_rest(formulario) }}
        </form>
